package com.meixiang.entity.training;

import java.io.Serializable;
import java.util.List;

/**
 * @author yinsujun  Created at 2016/5/30 18:32
 */
public class TrainingDetails implements Serializable {
    /**
     * 商品ID
     */
    private String goodsId;
    /**
     * 商品图片
     */
    private String goodsImage;
    /**
     * 商品名称
     */
    private String goodsName;
    /**
     * 商品价格
     */
    private String goodsStorePrice;
    /**
     * 市场价
     */
    private String goodsMarketPrice;
    /**
     * 卖出多少
     */
    private String salenum;
    /**
     * 商品描述
     */
    private String goodsBody;
    /**
     * 副标题
     */
    private String goodsSubtitle;
    /**
     * 商家地址
     */
    private String address;
    /**
     * 商家电话
     */
    private String phone;
    private String typeId;
//    private List<?> stepList;
//    private List<?> proList;
    /**
     * 1 是总店 0不是总店
     */
    private String isMainStore;

    public String getIsMainStore() {
        return isMainStore;
    }

    public void setIsMainStore(String isMainStore) {
        this.isMainStore = isMainStore;
    }

    private List<InstructionListBean> instructionList;

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsImage() {
        return goodsImage;
    }

    public void setGoodsImage(String goodsImage) {
        this.goodsImage = goodsImage;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsStorePrice() {
        return goodsStorePrice;
    }

    public void setGoodsStorePrice(String goodsStorePrice) {
        this.goodsStorePrice = goodsStorePrice;
    }

    public String getGoodsMarketPrice() {
        return goodsMarketPrice;
    }

    public void setGoodsMarketPrice(String goodsMarketPrice) {
        this.goodsMarketPrice = goodsMarketPrice;
    }

    public String getSalenum() {
        return salenum;
    }

    public void setSalenum(String salenum) {
        this.salenum = salenum;
    }

    public String getGoodsBody() {
        return goodsBody;
    }

    public void setGoodsBody(String goodsBody) {
        this.goodsBody = goodsBody;
    }

    public String getGoodsSubtitle() {
        return goodsSubtitle;
    }

    public void setGoodsSubtitle(String goodsSubtitle) {
        this.goodsSubtitle = goodsSubtitle;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getTypeId() {
        return typeId;
    }

    public void setTypeId(String typeId) {
        this.typeId = typeId;
    }

//    public List<?> getStepList() {
//        return stepList;
//    }
//
//    public void setStepList(List<?> stepList) {
//        this.stepList = stepList;
//    }

//    public List<?> getProList() {
//        return proList;
//    }
//
//    public void setProList(List<?> proList) {
//        this.proList = proList;
//    }

    public List<InstructionListBean> getInstructionList() {
        return instructionList;
    }

    public void setInstructionList(List<InstructionListBean> instructionList) {
        this.instructionList = instructionList;
    }

    public static class InstructionListBean implements Serializable{
        /**
         * 适用人群
         */
        private String instructionName;
        /**
         * 所有人群
         */
        private String indexValue;

        public String getInstructionName() {
            return instructionName;
        }

        public void setInstructionName(String instructionName) {
            this.instructionName = instructionName;
        }

        public String getIndexValue() {
            return indexValue;
        }

        public void setIndexValue(String indexValue) {
            this.indexValue = indexValue;
        }

        @Override
        public String toString() {
            return "InstructionListBean{" +
                    "instructionName='" + instructionName + '\'' +
                    ", indexValue='" + indexValue + '\'' +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "TrainingDetails{" +
                "goodsId='" + goodsId + '\'' +
                ", goodsImage='" + goodsImage + '\'' +
                ", goodsName='" + goodsName + '\'' +
                ", goodsStorePrice='" + goodsStorePrice + '\'' +
                ", goodsMarketPrice='" + goodsMarketPrice + '\'' +
                ", salenum='" + salenum + '\'' +
                ", goodsBody='" + goodsBody + '\'' +
                ", goodsSubtitle='" + goodsSubtitle + '\'' +
                ", address='" + address + '\'' +
                ", phone='" + phone + '\'' +
                ", typeId='" + typeId + '\'' +
                ", instructionList=" + instructionList +
                '}';
    }
}
